class CreateTransactions < ActiveRecord::Migration
  def change
    create_table :transactions do |t|
      t.decimal :amount
      t.integer :giver_id
      t.string :giver_type
      t.integer :receiver_id
      t.string :receiver_type
      t.date :on_date

      t.timestamps
    end
  end
end
